import threading
import urllib.request

def tender():
	url = "http://172.16.40.70/run.php"
	#data = urllib.parse.urlencode(postData).encode(encoding='UTF8')
	response = urllib.request.urlopen(url)
	print(response)

try:
    i = 0
    # 开启线程数目
    tasks_number = 10
    print('测试启动')
    while i < tasks_number:
        t = threading.Thread(target=tender)
        t.start()
        i +=1

except Exception as e:
    print(e)